<#include "/template/common/layout.html"/> 
<@layout title="">
<section class="ordersdetail-list">
        <!-- 单个商品 -->
        <#list po.orderDetails as detail>
        <dl>
            <dd>
                <div class="goods-img">
                    <a href="/shop/${session.session_shop.id}">
                        <img src="http://adm.smpay.cn${(detail.logo)!}" />
                    </a>
                </div>
                <div class="orders-details">
                    <p>
                    ${(detail.name)!}<span>(单价${detail.now_price!}元)</span>
                    </p>
                    <p><span class="orders-money"><b>￥${detail.now_price!}</b> <i>×</i> ${detail.product_num!}</span></p>
                </div>
            </dd>
        </dl>
      </#list>
    </section>
    <!-- 商品列表end -->
    <!-- 商品小计 -->
    <section class="details-count">
        <p><span>金额：</span><b>￥${(po.all_money!0)-(po.postage!0)-(po.discount!0)}</b></p>
         <!--<p><span>-积分：</span><b>0</b></p>
        <p><span>-优惠：</span><b>￥${po.discount!}</b></p> -->
        <p><span>+运费：</span><b>￥${po.postage!}</b></p>
        <p><span>实付款：</span><b>￥${po.all_money!}</b></p>
    </section>
    <!-- 商品小计end -->

    <!-- 卖家信息 -->
    <ul class="details-list">
        <li>
            <label>卖家：</label><span>${session.session_shop.name}</span></li>
        <li>
            <label>地址：</label><span>${session.session_shop.address}</span></li>
        <li>
            <label>电话：</label><span>${session.session_shop.phone}</span></li>
    </ul>
    <!-- 卖家信息end -->
    <!-- 买家信息 -->
    <ul class="details-list">
        <li>
            <label>收货地址：</label><span>${po.postAddress!}</span></li>
        <li>
            <label>收货人：</label><span>${po.customer.username}</span></li>
        <li>
            <label>手机号码：</label><span>${po.customer.phone}</span></li>
    </ul>
    <!-- 买家信息end -->
    <!-- 订单信息 -->
    <ul class="details-list">
        <li>
            <label>订单编号：</label><span>${po.order_no!}</span></li>
        <li>
            <label>支付方式：</label>
            <span>
            	<#if po.payment==0>线上支付
            	<#elseif po.payment==1>线下支付
            	<#elseif po.payment==2>定金支付
            	<#else>其他
            	</#if>
            </span>
        </li>
        <li>
        <label>付款时间：</label><span>${po.update_time!}</span></li>
    </ul>
    <!-- 订单信息end -->
    <!-- 订单详情end -->
</@layout>